import React from 'react'

import store from './store/index'

export default function Uncle (props) {

    const handlerClick = () => {

        props.subCount()
    }
    return (
        <>
            <div>Uncle -----------  {props.count && props.count}</div>

            <div>   {store.getState()} </div>

            <button onClick={handlerClick}>  uncle 按钮</button>
        </>

    )
}
